package com.erp.gather.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.annotation.ExcelDictFormat;
import com.ruoyi.common.core.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 采集商品拆分日志视图对象 erp_collect_product_split_log
 *
 * @author erp
 * @date 2023-07-27
 */
@Data
@ExcelIgnoreUnannotated
public class ErpCollectProductSplitLogVo {

    private static final long serialVersionUID = 1L;

    /**
     * 采集商品拆分日志表
     */
    @ExcelProperty(value = "采集商品拆分日志表")
    private Long id;

    /**
     * 采集商品表
     */
    @ExcelProperty(value = "采集商品表")
    private Long collectProductId;

    /**
     * 拆分的商品的id
     */
    @ExcelProperty(value = "拆分的商品的id")
    private Long splitProductId;

    /**
     * 拆分类型（1大包 2经普 3经特）
     */
    @ExcelProperty(value = "拆分类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=大包,2=经普,3=经特")
    private Integer type;

    /**
     * 拆分时间
     */
    @ExcelProperty(value = "拆分时间")
    private Date splitTime;


}
